JCC = javac
JFLAGS = -g

CLASSES= \
	Datamining.java \
	Apriori.java \
	FindOutRules.java 

default: classes

classes: $(CLASSES:.java=.class)

Apriori.class : Apriori.java
	$(JCC) $(JFLAGS) Apriori.java
	
SubsetCombin.class : SubsetCombin.java
	$(JCC) $(JFLAGS) SubsetCombin.java
	
FindOutRules.class : FindOutRules.java Apriori.java SubsetCombin.java
	$(JCC) $(JFLAGS) FindOutRules.java Apriori.java SubsetCombin.java
	
Datamining.class : Datamining.java FindOutRules.java Apriori.java SubsetCombin.java
	$(JCC) $(JFLAGS) Datamining.java FindOutRules.java Apriori.java SubsetCombin.java

clean:
	$(RM) *.class
